package riki.org.com.date
{
	import mx.collections.ArrayCollection;
	
	public class ServerDate
	{
		private	var	sUsers	:Array;
		private	var	sApps	:Array;
				
		//public	var ServerApplicationList	:ArrayCollection = new ArrayCollection();
		
		public	function	ServerDate	()
		{
			sUsers	= 	new Array();
			sApps	=	new Array();
		}
		
		public	function	getUserDateList		():Array
		{
			return sUsers;
		}
		
		public	function	getAppDateList		():Array
		{			
			return sApps;
		}
		
		
		public	function	getUserSize		():int
		{
			return sUsers.length;
		}
		
		public	function	getAppSize		():int
		{
			return sApps.length;
		}
		
		public	function	getOnlineUser	(index:int):OnlineUsers
		{
			return OnlineUsers(sUsers[index]);
		}
		
		public	function	getOnlineApp	(index:int):OnlineApps
		{
			return OnlineApps(sApps[index]);
		}
		
		public	function	setUserDate	(obj:*):void
		{
			var tempUsers:OnlineUsers	=	new	OnlineUsers();
			
			sUsers	= 	new Array();
			/*
			for(var	i:int =	0 ; i < obj.length ; i ++)
			{
				
			}
			*/
		}
	}
}